package com.lanmaoly.web.server.dao;

import com.lanmaoly.web.server.pojo.TbOrderItem;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TbOrderItemMapper {

    int deleteByPrimaryKey(Long id);

    int insert(TbOrderItem record);

    int insertSelective(TbOrderItem record);


    TbOrderItem selectByPrimaryKey(Long id);


    int updateByPrimaryKeySelective(TbOrderItem record);

    int updateByPrimaryKey(TbOrderItem record);

    List<TbOrderItem> selectByOrderId(Long orderId);

    List<TbOrderItem> selectByOrderIds(List<Long> longs);
}